package com.example.tellwin.home.contract;

import com.example.tellwin.base.BaseContract;
import com.example.tellwin.home.bean.ActivitiesBean;
import com.example.tellwin.home.bean.BannerBean;
import com.example.tellwin.home.bean.ColumnBean;
import com.example.tellwin.home.bean.TeactherTeamBean;

import java.util.List;

/**
 * @author : LinZePeng
 * @date : 2020/11/25
 * @Describe ：
 **/
public interface NormalHomeContract {

    interface View extends BaseContract.BaseView {
        void homeBannerResult(List<BannerBean> bannerBeans);
        void homeColumnResult(List<ColumnBean> columnBeans);
        void indexQuestionListResult(int position,ColumnBean columnBean);
        void teacherTeamResult(List<TeactherTeamBean>teactherTeamBeans);
        void activiteListResult(List<ActivitiesBean>activitiesBeans);
        void likeQuestionResult(int position);
        void onFail();
    }

    interface Presenter<T> extends BaseContract.BasePresenter<T> {
        void homeBanner();
        void homeColumn();
        void indexQuestionList(int position, ColumnBean columnBean);
        void getTeacherTeam();
        void getActiviteList();
        void likeQuestion(String questionId ,int position);
    }
}
